﻿@model TYAJZWeb.Models.PrintEditModel
@{
    ViewBag.Title = "设置打印机";
}
@section BodyNav
{
> 设置打印机
}
@section Js
{
    <script src="@Url.Content("~/Scripts/LodopFuncs.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/Printer.js")" type="text/javascript"></script>
    <object id="LODOP_OB" classid="clsid:2105C259-1E0C-4534-8141-A753534CB4CA" width="0"
        height="0">
        <param name="Border" value="0">
        <embed id="LODOP_EM" type="application/x-print-lodop" width="0" height="0"></embed>
    </object>
    <script type="text/javascript">
        var printIds = [@Model.Print1Name, @Model.Print2Name, @Model.Print3Name, @Model.Print4Name]; 
    </script>
}
@using (Html.BeginForm())
{
    <table class="window">
        <tr class="head">
            <th colspan="2">
                打印机设置
            </th>
        </tr>
        <tr>
            <th width="150">
                @Html.LabelFor(m => m.Print1Name)
            </th>
            <td>@*@Html.EditorFor(m => m.Print1Name)*@
                <select id="Print1Name" name="Print1Name">
                    <option value="">请选择打印机</option>
                </select>
                <br />
                用来打印《设备备案手册》的针式打印机
            </td>
        </tr>
        <tr>
            <th>
                @Html.LabelFor(m => m.Print2Name)
            </th>
            <td>@*@Html.EditorFor(m => m.Print2Name)*@
                <select id="Print2Name" name="Print2Name">
                    <option value="">请选择打印机</option>
                </select>
                <br />
                用来打印《太原市起重机械使用备案申请登记表》的激光打印机
            </td>
        </tr>
        <tr>
            <th>
                @Html.LabelFor(m => m.Print3Name)
            </th>
            <td>@*@Html.EditorFor(m => m.Print3Name)*@
                <select id="Print3Name" name="Print3Name">
                    <option value="">请选择打印机</option>
                </select>
                <br />
                用来打印《准运证》的打印机
            </td>
        </tr>
        <tr>
            <th>
                @Html.LabelFor(m => m.Print4Name)
            </th>
            <td>@*@Html.EditorFor(m => m.Print3Name)*@
                <select id="Print4Name" name="Print4Name">
                    <option value="">请选择打印机</option>
                </select>
                <br />
                用来打印《标签》的打印机
            </td>
        </tr>
        <tr>
            <td colspan="2">
                <input type="submit" value="确认" class="btnBtn" />
            </td>
        </tr>
    </table>
}